from django.apps import AppConfig

class TanxiConfig(AppConfig):
    default_auto_field = 'django.db.models.BigAutoField'
    name = 'tanxi'  # 保持不变，这是应用的标识符
    verbose_name = '檀溪'
    
    def ready(self):
        # 更新导入路径
        # from tanxi import signals  # 如果有信号
        from tanxi import models  # 如果需要
        # from tanxi import admin   # 如果需要